package com.security.door.dao.mapper;

import com.security.door.core.tk.mapper.MyBaseMapper;
import com.security.door.model.domain.baseUsers;
import com.security.door.model.dto.baseUsersDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface baseUsersMapper extends MyBaseMapper<baseUsers> {

    List<baseUsers> queryListWithPage(baseUsersDto entity);

    Integer checkCode(baseUsers record);

    baseUsers selectOne(baseUsers record);

    baseUsers selectByToken(String token);
}
